go.uber.org/zap/zapcore.jsonEncoder.reflectBuf (field)
10 uses
go.uber.org/zap/zapcore (current package)
json_encoder.go#L42: if enc.reflectBuf != nil {
json_encoder.go#L43: enc.reflectBuf.Free()
json_encoder.go#L49: enc.reflectBuf = nil
json_encoder.go#L61: reflectBuf *buffer.Buffer
json_encoder.go#L155: if enc.reflectBuf == nil {
json_encoder.go#L156: enc.reflectBuf = bufferpool.Get()
json_encoder.go#L157: enc.reflectEnc = enc.NewReflectedEncoder(enc.reflectBuf)
json_encoder.go#L159: enc.reflectBuf.Reset()
json_encoder.go#L175: enc.reflectBuf.TrimNewline()
json_encoder.go#L176: return enc.reflectBuf.Bytes(), nil
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |